import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SongModule } from '../song/song.module';
import { DVideo } from './dao/video.dao';
import { Video } from './entities/video.entity';
import { VideoController } from './video.controller';
import { VideoService } from './video.service';

@Module({
  imports: [TypeOrmModule.forFeature([Video]), SongModule],
  controllers: [VideoController],
  providers: [VideoService, DVideo],
  exports:[VideoService]
})
export class VideoModule { }
